#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;

int main(){
	double r;
	scanf("%lf",&r);
	printf("%.2f",3.14*pow(r,3)*(double)4/3);
}
